Deploys the Node Exporter for Prometheus.
None
Variable | Required | Default | Choices | Comments |
---|---|---|---|---|
PROMETHEUS_NODE_EXPORTER_MONITOR_RAID_STORCLI | no | false | true, false | Monitor RAID with StorCLI |
PROMETHEUS_NODE_EXPORTER_CHECK_SPECTRE_MELTDOWN | no | false | true, false | Check Spectre/Meltdown mitigation status |
PROMETHEUS_NODE_EXPORTER_CUSTOM_OPTS | no | undefined | string | Additional options to pass to node_exporter |
If PROMETHEUS_NODE_EXPORTER_MONITOR_RAID_STORCLI
is set, storcli must be installed a la https://gitlab.cyverse.org/config-mgmt/ansible-install-storcli
If PROMETHEUS_NODE_EXPORTER_CHECK_SPECTRE_MELTDOWN
is set, systems will be checked for mitigation of Spectre/Meltdown vulnerabilities via spectre-meltdown-checker and expose the following metrics:
- CVE-2017-5753
- CVE-2017-5715
- CVE-2017-5754
A value of 0
means "not vulnerable", a value of 1
means "vulnerable", and a value of 2
means "unknown".
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
- hosts: all
roles:
- prometheus-node-exporter
See license.md